-- The name of the package.
name:                dusk-tarot

-- The package version.  See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented.
-- https://wiki.haskell.org/Package_versioning_policy
-- PVP summary:      +-+------- breaking API changes
--                   | | +----- non-breaking API additions
--                   | | | +--- code changes with no API change
version:             0.1.0.0

-- A short (one-line) description of the package.
synopsis:            A CLI application to produce random tarot cards and their AS meanings.

-- A longer description of the package.
-- description:

-- URL for the project homepage or repository.
homepage:            https://notabug.org/koz.ross/dusk-tarot

-- The license under which the package is released.
license:             GPL-3

-- The file containing the license text.
license-file:        LICENSE.md

-- The package author(s).
author:              Koz Ross

-- An email address to which users can send suggestions, bug reports, and
-- patches.
maintainer:          koz.ross@retro-freedom.nz

-- A copyright notice.
-- copyright:

category:            Game

build-type:          Simple

-- Extra files to be distributed with the package, such as examples or a
-- README.
extra-source-files:  CHANGELOG.md

-- Constraint on the version of Cabal needed to build this package.
cabal-version:       >=1.10


executable dusk-tarot
  -- .hs or .lhs file containing the Main module.
  main-is:             Main.hs

  -- Modules included in this executable, other than Main.
  other-modules:       Game.Dusk.Tarot.Major,
                       Game.Dusk.Tarot.Minor,
                       Game.Dusk.Tarot.Card

  -- LANGUAGE extensions used by modules in this package.
  -- other-extensions:

  -- Other library packages from which modules are imported.
  build-depends:       base >= 4.12 && < 5,
                       generic-data,
                       hashable,
                       prettyprinter,
                       random,
                       unordered-containers,
                       mtl,
                       MonadRandom,
                       optparse-applicative,
                       monad-loops

  -- Directories containing source files.
  hs-source-dirs:      src

  -- Base language which the package is written in.
  default-language:    Haskell2010

